package com.test.application.designPatterns.principles_design.dimitefaze;

import lombok.Data;

/**
 * 描述: 经纪人
 * 作者: yanruizhi
 * 时间: 2024/9/18 15:57
 */
@Data
public class Agent {
    private Star star;
    private Company company;
    private Fans fans;

    public void faceMeeting() {
        System.out.println("明星: " + star.getName() + "与粉丝: " + fans.getName() + "进行了见面");
    }

    public void business() {
        System.out.println("明星: " + star.getName() + "与经纪公司: " + company.getName() + "进行了商谈");
    }
}
